module.exports = app=>{
    const {router,controller} = app;
    router.post('/login', controller.user.login);
    router.post('/register', controller.user.register);
    // 获取题目列表
    router.get('/list', controller.subject.getList)
    router.post('/list', controller.subject.submit)
}